ASAN (the Address Sanitizer used by GCC) requires memory allocations to
be a multiple of the alignment. To replicate the bug, use a version of
libvolk without this fix, call volk_malloc() with a number of byte
that's not a multiple of the alignment and compile it with the Address
sanitizer enable (-fsanitize=address). The software will error out
and complain about the alignement. This patch fixes it by adding the
missing number of bytes to the size variable so that it becomes a
multiple of the alignment.
Signed-off-by: AlexandreRouma <alexandre.rouma@gmail.com>
Gbp-Pq: Name 0055-asan-Fix-volk_malloc-alignment-bug.patch
Marcus Müller [Thu, 1 Jul 2021 17:41:27 +0000 (19:41 +0200)]
[PATCH 07/73] Add the list of contributors agreeing to LGPL licensing
* List of contributors, with short explanation
* added LGPLv3 license text as COPYING-LGPL
* moved GPLv3 license text to COPYING-GPL
* COPYING still contains the GPLv3, but with an explanation that new
code is LGPL
* updated the contribution guide
* Removed the GPL license header from Readme, added explanation.
Signed-off-by: Marcus Müller <marcus@hostalia.de>
Gbp-Pq: Name 0007-Add-the-list-of-contributors-agreeing-to-LGPL-licens.patch